package com.tudouji.project.d3.domain;

import com.tudouji.framework.aspectj.lang.annotation.Excel;
import com.tudouji.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 电商物流发货地址匹配对象 logistic_sendfrom_rule
 * 
 * @author tudouji
 * @date 2023-12-28
 */
public class LogisticSendfromRule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 原始发货地址 */
    @Excel(name = "原始发货地址")
    private String orginalSendfrom;

    /** 记录到订单中的最终发货地址 */
    @Excel(name = "记录到订单中的最终发货地址")
    private String finalSendfrom;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOrginalSendfrom(String orginalSendfrom) 
    {
        this.orginalSendfrom = orginalSendfrom;
    }

    public String getOrginalSendfrom() 
    {
        return orginalSendfrom;
    }
    public void setFinalSendfrom(String finalSendfrom) 
    {
        this.finalSendfrom = finalSendfrom;
    }

    public String getFinalSendfrom() 
    {
        return finalSendfrom;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orginalSendfrom", getOrginalSendfrom())
            .append("finalSendfrom", getFinalSendfrom())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
